﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GDBLL.Log
{
    public class LogManager
    {
        private ILogProvider m_logprovider;

        public LogManager(ILogProvider logprovider)
        {
            this.m_logprovider = logprovider;
        }

        public void WriteLog(string msg)
        {
            this.m_logprovider.WriteLog(msg);
        }

        public void WriteLog(string msg, string type)
        {
            this.m_logprovider.WriteLog(msg,type);
        }

        public void WriteLog(string msg, string type, string date)
        {
            this.m_logprovider.WriteLog(msg, type, date);
        }
    }
}
